﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.SAMPLES.SAMPLES_03
{
    class NGUOI
    {
        int Tay, Chan;

        public NGUOI()
        { }
        public NGUOI(int tay, int chan, string mauda, string thucan)
        {
            Tay = tay;
            Chan = chan;
            Mauda = mauda;
            ThucAn = thucan;
        }
        public int CHAN
        {
            get { return Chan; }
            set { Chan = value; }
        }

        public int TAY
        {
            get { return Tay; }
            set { Tay = value; }
        }
        string Mauda, ThucAn;

        public string THUCAN
        {
            get { return ThucAn; }
            set { ThucAn = value; }
        }

        public string MAUDA
        {
            get { return Mauda; }
            set { Mauda = value; }
        }
        public double DiChuyen()
        {
            return 50;
        }
    }
}
